package com.applet.user.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.applet.common.annotation.Excel;
import com.applet.common.core.domain.BaseEntity;

/**
 * 兼职发布对象 publish
 * 
 * @author ruoyi
 * @date 2024-08-16
 */
public class Publish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键",dataType = "Long")
    private Long id;

    /** 发布者id */
    @ApiModelProperty(value = "发布者id",dataType = "Long")
    @Excel(name = "发布者id")
    private Long publishUserId;

    /** 工作内容 */
    @ApiModelProperty(value = "工作内容",dataType = "String")
    @Excel(name = "工作内容")
    private String content;

    /** 工作地点 */
    @ApiModelProperty(value = "工作地点",dataType = "String")
    @Excel(name = "工作地点")
    private String locations;

    /** 性别要求 */
    @ApiModelProperty(value = "性别要求",dataType = "String")
    @Excel(name = "性别要求")
    private String sexDemand;

    /** 月薪 */
    @ApiModelProperty(value = "月薪",dataType = "String")
    @Excel(name = "月薪")
    private String salary;

    /** 手机号码 */
    @ApiModelProperty(value = "手机号码",dataType = "String")
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 其他要求 */
    @ApiModelProperty(value = "其他要求",dataType = "String")
    @Excel(name = "其他要求")
    private String demand;

    /** 发布状态: 0正常 1满人 */
    @ApiModelProperty(value = "发布状态(0正常 1满人)",dataType = "Integer")
    @Excel(name = "发布状态: 0正常 1满人")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPublishUserId(Long publishUserId) 
    {
        this.publishUserId = publishUserId;
    }

    public Long getPublishUserId() 
    {
        return publishUserId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLocations(String locations) 
    {
        this.locations = locations;
    }

    public String getLocations() 
    {
        return locations;
    }
    public void setSexDemand(String sexDemand) 
    {
        this.sexDemand = sexDemand;
    }

    public String getSexDemand() 
    {
        return sexDemand;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setDemand(String demand) 
    {
        this.demand = demand;
    }

    public String getDemand() 
    {
        return demand;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publishUserId", getPublishUserId())
            .append("content", getContent())
            .append("locations", getLocations())
            .append("sexDemand", getSexDemand())
            .append("salary", getSalary())
            .append("phonenumber", getPhonenumber())
            .append("demand", getDemand())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
